package com.xiaoyu.string;

/**
 * Created by xiaoyu on 16/3/30.
 *
    两个字面量字符串相加

     #2 = String             #25            //  abcdef
     #3 = String             #26            //  abc1
     #25 = Utf8               abcdef
     #26 = Utf8               abc1

    0: ldc           #2                  // String abcdef
    2: astore_1
    3: ldc           #3                  // String abc1
    5: astore_2

 */
public class StringOptTest {


    public static void main(String[] args) {
        String str1 = "abc"+"def";
        String str2 = "abc"+1;
//        int i = 1/0;
//        StringOptTest3 stringOptTest3 = new StringOptTest3();

    }

}
